#ifndef _LED_H_
#define _LED_H_

 #include "HC595.H"
 #include "LED.H"

 /*引脚定义*/


 /*变量定义*/

extern unsigned int timer ;         //定时器2计数值
extern unsigned char HC595_data;    //HC595数据缓存
extern unsigned char led[6];
extern unsigned char RGBX[3];



 /*函数声明*/
void timer2_init(void);	//定时器2初始化	T2无优先级控制位，自动为低级中断
void LEDCycle(void);      //LED循环函数
void LED_update(unsigned char* LEDX);  //LED更新函数


#endif